﻿using Manon.Repository;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Manon.ConfigCenter.Web.ApplicationCore.Entities
{

    [Table("project")]
    public class Projects : IBaseEntity
    {
        public int Id { get; set; }

        /// <summary>
        /// 存储方式 1共享目录  2 mysql
        /// </summary>
        public int StorageType { get; set; }

        /// <summary>
        /// 项目编码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool Enabled { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int OrderIndex { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        public DateTime CreateTime { get; set; }
        public DateTime UpdateTime { get; set; }
        public DateTime? DeleteTime { get; set; }
        public bool IsDeleted { get; set; }

        public int CreateBy { get; set; }
        public int UpdateBy { get; set; }

        public string CreateByName { get; set; }

        public string UpdateByName { get; set; }
    }
}
